package com.oreilly.ez.util;


import com.oreilly.ez.base.ExcelColumnAdaptor;
import com.oreilly.ez.service.ObjectAdaptor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelAnnotation {

    /**
     * 中文名称
     * @return
     */
    String zhName();

    /**
     * 对应的列 A, B, C
     * @return
     */
    String column() ;


    Class<? extends ExcelColumnAdaptor> adaptor() default ObjectAdaptor.class;
}
